//
//  WmcCache.swift
//  YPWatermarkCamera
//
//  Created by 赵洋 on 2023/3/1.
//

import YPBedrock

extension WmcCache.TableKey {
    static var imageTable: WmcCache.TableKey = .init(cacheKey: "defaultTable", enableCache: true)
}

class WmcCache: NSObject, YPLazyCacheTarget {
    class TableKey: NSObject, YPLazyCacheTableKeyProtocol {
        var cacheKey: String

        var enableCache: Bool

        init(cacheKey: String, enableCache: Bool) {
            self.cacheKey = cacheKey
            self.enableCache = enableCache
        }
    }

    var logPrefix: String {
        return "水印相机缓存"
    }
}
